<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小米布局案例手机模块3</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        li {
            list-style: none;
        }

        .box {
            width: 1104px;
            height: 554px;
            background-color: pink;
            margin: 0 auto;
        }

        .box .left {
            float: left;
            width: 212px;
            height: 554px;
            background-color: skyblue;
        }
        .box ul li{
            float: left;
            width: 210px;
            height: 270px;
            background-color: purple;
            /* margin-left: 14px;
            margin-bottom: 14px; */
            margin: 0 0 14px 13px;
        }

        .box ul li:hover {
            box-shadow: 10px 10px 10px -5px rgba(0, 0, 0, 0.7);
        }
        
        .box ul .last {
            margin-bottom: 0;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="left">左侧</div>
        <ul>
            <li>#1</li>
            <li>#2</li>
            <li>#3</li>
            <li>#4</li>
            <li class="last">#5</li>
            <li class="last">#6</li>
            <li class="last">#7</li>
            <li class="last">#8</li>
        </ul>
    </div>
</body>
</html>

